section::-webkit-scrollbar, div ::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

section::-webkit-scrollbar-track, div ::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

section::-webkit-scrollbar-thumb, div ::-webkit-scrollbar-thumb {
    background: #E7E7E7;
    border-radius: 4px;
}

div {
    scrollbar-width: thin; // 兼容火狐，火狐滚动条无法自定义宽度，只能通过此属性使滚动条宽度变细
    scrollbar-color: #E7E7E7 transparent;
    scrollbar-track-color: transparent; /* 滚动条拖动区域的外观颜色透明 */
    -ms-scrollbar-track-color: transparent; /* IE下滚动条拖动区域的外观颜色透明 */
    -moz-scrollbar-track-color: transparent; /* IE下滚动条拖动区域的外观颜色透明 */
}

.dark-scroll {
    scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

.dark-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

// - happy-scroll组件样式覆盖问题解
.happy-scroll {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;

    .happy-scroll-container {
        height: 100% !important;
        width: 100% !important;
    }

    .happy-scroll-content {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        vertical-align: top;
    }

    .happy-scroll-strip.happy-scroll-strip--vertical .happy-scroll-bar {
        width: 8px !important;
    }
}
